package com.kaba.zplb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kaba.bean.mongodb.Works;
import com.kaba.bean.mongodb.ZuoPin;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: zjl
 * @Date: 2021/3/11/011 8:25
 */
@Mapper
public interface WorksMapper extends BaseMapper<ZuoPin> {
    //综合查询作品
    public List<ZuoPin> queryWorks(ZuoPin zuoPin);
    //颁奖
    public List<ZuoPin> banjiangWorks(ZuoPin zuoPin);
    //名次
    public List<ZuoPin> mingciWorks(ZuoPin zuoPin);
    //修改标题状态
    public void updateWorks(String nickname);

    //根据id查询
    public ZuoPin queryById(String zuopinid);
}
